    <div class="title_box">Categories</div>	
	<ul class="left_menu">
		<?php foreach($categories as $category): ?>
			<li class="even"><h3>
			<?php echo HTML::anchor('item/item/viewcategory/0/?subcategory='.$category->id, $category->name); ?>
			</h3></li>
			
			<?php foreach($category->subcategories->order_by('name', 'asc')->find_all() as $sub) :?>
			<li class="odd"><h4>
			<?php echo HTML::anchor('item/item/viewcategory/0/?subcategory='.$sub->id, $sub->name); ?>
			</h4></li>
			<?php endforeach;?>
		<?php endforeach;?>
	</ul>
